@use "@/assets/styles/mixin";

.contracting-manager {
  height: calc(100% - 20px);
  padding: 0 20px 20px;
  background-color: #fff;
  box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  overflow-y: scroll;
}

.tabs-sticky {
  position: sticky;
  top: 0px;
  background: #ffffff;
  z-index: 99;
}

.filter-container {
  margin-top: 20px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #F6F8FA;

  :deep(.el-input),
  :deep(.el-select),
  :deep(.el-select__wrapper),
  :deep(.el-date-editor.el-input__wrapper) {
    width: 100%;
  }

  &-buttons {
    text-align: right;
  }

  &--show {
    color: #007DFF;
    font-weight: 400;
    font-size: 14px;
    margin-left: 20px;
    cursor: pointer;
  }
}

.contracting-container {
  @include mixin.flex-column;
  flex: 1;
}

.table-container {

}

:deep(.el-table) {
  flex: 1;
  overflow: auto;

  .even-row td {
    background-color: #fff !important;
    font-size: 14px;
    color: #606266;
  }

  .odd-row td {
    background-color: #F5F7FA !important;
    font-size: 14px;
    color: #606266;
  }
}

.status {
  @include mixin.flex-inline-flex;
  height: 20px;
  padding: 0 5px;
  min-width: 50px;
  border-radius: 2px;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;

  &-info {
    background-color: #dcdfe6;
    color: #606266;
  }

  &-warning {
    background-color: #fff0d9 !important;
    color: #ff9900 !important;
  }

  &-danger {
    background-color: #ffc7c7;
    color: #ff3333;
  }

  &-primary {
    background-color: #d9edff;
    color: #409eff;
  }

  &-success {
    background-color: #e3f9e9;
    color: #14c85c;
  }
}


.dialog-footer {
  text-align: center;

  :deep(.el-button) {
    width: 120px !important;
    height: 36px !important;
  }
}


.tabs-content {
  margin-top: 20px;
}

.table-operate {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;

  button {
    margin-left: 0 !important;
    padding-left: 0 !important;
    color: #409EFF !important;
    font-size: 12px;
    margin-bottom: 8px;
    justify-content: start;
    text-align: left;

    span {
      min-width: 52px;
      display: block;
    }
  }
}

:deep(.el-dropdown-menu__item) {
  font-size: 12px !important;

  .el-button {
    font-size: 12px !important;
    color: #409EFF !important;
  }
}

:deep(.jzt-drawer) {
  .el-drawer {
    min-width: 542px;
    background: #FFFFFF;
    box-shadow: 4px 5px 16px 0px rgba(4, 19, 74, 0.04) !important;
    border-radius: 20px 0px 0px 20px !important;

    .el-drawer__body {
      padding: 0 !important;
    }
  }
}

:deep(.el-drawer__header) {
  padding-bottom: 20px !important;
  border-bottom: 1px solid #DCDFE6;
  margin-bottom: 0 !important;
}

:deep(.el-drawer__footer) {
  box-shadow: 0px -3px 10px 0px rgba(4, 24, 48, 0.1) !important;
  z-index: 999;

  .el-button {
    width: 120px !important;
    height: 36px !important;
  }
}

:deep(.pay-drawer) {
  .el-drawer {
    min-width: 525px;
    background: #ffffff;
    box-shadow: 4px 5px 16px 0px rgba(4, 19, 74, 0.04) !important;
    border-radius: 20px 0px 0px 20px !important;
  }
}

:deep(.pay-dialog) {
  .el-dialog__header {
    border-bottom: 1px solid #c2d4e8 !important;
    margin-bottom: 20px !important;
  }
  .el-dialog__body{
    max-height: 550px!important;
    overflow: auto;
  }
}
/** 表格更多操作下拉样式 */
.el-table .el-dropdown-link {
  font-size: 12px;
  cursor: pointer;
  color: #409EFF;
}

:deep(.el-table__row--striped .el-table__cell) {
  background: #f5f7fa !important;
}